﻿using Quartz;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhouYu.DreamTour.BLL.IService;
using ZhouYu.DreamTour.DAL.IRepository;
using ZhouYu.DreamTour.Model;

namespace ZhouYu.DreamTour.JobScheduler.Job
{
    public class ExamineJob/* : IJob*/
    {
        //private IUserRepository _userService;
        //public ExamineJob(/*IUserRepository userService*/)
        //{

        //    File.AppendAllText("D:\\Log.txt", "构造函数");
        //    _userService = AutofacUtil.GetFromFac<IUserRepository>();
        //    //_userService = userService;
        //}

        //public async Task Execute(IJobExecutionContext context)
        //{
        //    File.AppendAllText("D:\\Log.txt", "执行任务");
        //    //List<GetCashUser> getCashUsers = _userService.QueryExamine();
        //    //for (int i = 0; i < getCashUsers.Count; i++)
        //    //{
        //    //    string name = getCashUsers[i].CashOut_BankNum;
        //    //    File.AppendAllText("D:\\log.txt", "2");
        //    //}
        //    //File.AppendAllText("D:\\log.txt", "1");
        //    //审核操作
        //    await Task.Delay(1);
        }
    }
